efficient way to find sinx using programming